﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Site.Master" AutoEventWireup="true"
    CodeBehind="FollowersHome.aspx.cs" Inherits="TsWeb.Followers.FollowersHome" %>

<asp:Content ID="Content1" ContentPlaceHolderID="HeadContent" runat="server">
    <script type="text/javascript">
    function GetMatchesData(cellID,row,col,year,month) {
        //('#' + cellID).attr('data-original-title', item.value + ' selected.').tooltip('fixTitle');
        // alert(cellID);
        PageMethods.GetTooltipInfo(cellID,row,col,year,month, CallSuccess, CallFailed,cellID);
      

        
        //$('#' + cellID).tooltip.show();


    }

    function CallSuccess(res,cellID) {
        document.getElementById(cellID).setAttribute("data-html", true);
        document.getElementById(cellID).setAttribute("title", res);
        
    }

 
    function CallFailed(res, cellID) {
        //alert('No funco');
    }


 </script>
</asp:Content>

<asp:Content ID="Content3" ContentPlaceHolderID="LeftContent" runat="server">

       
       
          <div class="well sidebar-nav">
            <ul class="nav nav-list">
              
                
 <li class="nav-header">Comentarios</li>

 <asp:ListView ID="ListViewComments" runat="server" >
                <ItemTemplate>
                
                <div class="media"   >
              <a class="pull-left" href="#">
             
             <img runat="server"   id="TeamLogo" class="media-object" src=<%#Eval("Logo") %> alt="Logo del equipo" height="40" width="40"   /> 
              </a>
            <div class="media-body">
                <h5 class="media-heading"> 
                              <%#Eval("Name") %></h5>
                    <div class="alert alert-info">
                        <%#Eval("Text") %>
                    </div>
                     
                   <span class="label label-info">   <%#Eval("CmtDate") %></span>
              </div>
            </div>



             
       


                
                </ItemTemplate>
                <EmptyDataTemplate>
                    Aún no hay comentarios
                </EmptyDataTemplate>
            </asp:ListView>
            </ul>
          </div><!--/.well -->

            

          
        

</asp:Content>


<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">

    <asp:ScriptManager ID="ScriptManager1" runat="server" EnablePageMethods="true">
        <Scripts>
        <asp:ScriptReference Path= "~/Scripts/jquery-1.9.1.js" />
        <asp:ScriptReference Path= "~/Scripts/bootstrap.min.js"  />
        </Scripts>
        </asp:ScriptManager>

      
        <h4>Calendario de encuentros</h4>
    <asp:UpdatePanel ID="ProfileUpdatePanel" runat="server">
        <ContentTemplate>
            

  
       
           
         
          
  
          
            
             <asp:GridView ID="CalendarGrid" runat="server" AutoGenerateColumns="True" 
                 CssClass="table table-hover table-condensed" 
        AllowSorting="True" onrowdatabound="CalendarGrid_RowDataBound" 
                    >
        
         
    </asp:GridView>
      <div class="well">
              <asp:Button ID="PreBtn" runat="server" Text="<" onclick="PreBtn_Click" CssClass="btn"/><asp:Label runat="server" ID="MonthLabel" CssClass="btn"></asp:Label> 
                <asp:Button ID="NextBtn" Text=">"  runat="server" onclick="NextBtn_Click" CssClass="btn" />
                </div>


      


              

            
        </ContentTemplate>
    </asp:UpdatePanel>
    
</asp:Content>
